.class Lcom/waiqin365/lightapp/product/a/bv;
.super Lcom/waiqin365/lightapp/product/c/h;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/product/a/bu;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/product/a/bu;DLandroid/widget/EditText;Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/a/bv;->a:Lcom/waiqin365/lightapp/product/a/bu;

    invoke-direct {p0, p2, p3, p4, p5}, Lcom/waiqin365/lightapp/product/c/h;-><init>(DLandroid/widget/EditText;Ljava/lang/String;)V

    return-void
.end method


# virtual methods
.method public afterTextChanged(Landroid/text/Editable;)V
    .locals 6

    const-wide/16 v4, 0x0

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->b()I

    move-result v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/a/bv;->a(I)V

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/product/c/h;->afterTextChanged(Landroid/text/Editable;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/a/bv;->b()Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bv;->a:Lcom/waiqin365/lightapp/product/a/bu;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/a/bu;->c:Lcom/waiqin365/lightapp/product/a/bk;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/bk;->n()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bv;->a:Lcom/waiqin365/lightapp/product/a/bu;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/a/bu;->b:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1, v4, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;D)D

    move-result-wide v2

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->M()Ljava/lang/Double;

    move-result-object v1

    invoke-static {v1, v4, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v4

    cmpl-double v1, v2, v4

    if-lez v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/a/bv;->a:Lcom/waiqin365/lightapp/product/a/bu;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/a/bu;->c:Lcom/waiqin365/lightapp/product/a/bk;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->b()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/a/bv;->a:Lcom/waiqin365/lightapp/product/a/bu;

    iget-object v2, v2, Lcom/waiqin365/lightapp/product/a/bu;->c:Lcom/waiqin365/lightapp/product/a/bk;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v2

    const v3, 0x7f0805cb

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const/4 v2, 0x0

    invoke-static {v1, v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0
.end method
